filechooser: Add missing array annotations to add_choice()
authorRico Tzschichholz <ricotz@ubuntu.com>
Sat, 6 Jan 2018 08:34:44 +0000 (09:34 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Sat, 6 Jan 2018 08:40:39 +0000 (09:40 +0100)
gtk/gtkfilechooser.c

index 91b0caa37187479377baffa016e98c28e8879bcd..26240c95a6a442f7b1ff5b50c960be215d76d20c 100644 (file)
@@ -2269,8 +2269,8 @@ gtk_file_chooser_get_do_overwrite_confirmation (GtkFileChooser *chooser)
  * @chooser: a #GtkFileChooser
  * @id: id for the added choice
  * @label: user-visible label for the added choice
- * @options: ids for the options of the choice, or %NULL for a boolean choice
- * @option_labels: user-visible labels for the options, must be the same length as @options
+ * @options: (nullable) (array zero-terminated=1): ids for the options of the choice, or %NULL for a boolean choice
+ * @option_labels: (nullable) (array zero-terminated=1): user-visible labels for the options, must be the same length as @options
  *
  * Adds a 'choice' to the file chooser. This is typically implemented
  * as a combobox or, for boolean choices, as a checkbutton. You can select